From: Stefan Monnier Date: Mon, 10 Feb 2003 21:56:49 +0000 (+0000) Subject: (font-lock-defontify): Use restore-buffer-modified-p. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~28362 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=232a27ef33bea3c86f60d5c8594a03b42498078d;p=emacs.git (font-lock-defontify): Use restore-buffer-modified-p. --- diff --git a/lisp/font-core.el b/lisp/font-core.el index c2c95bfe8a0..fb1fe943e03 100644 --- a/lisp/font-core.el +++ b/lisp/font-core.el @@ -230,7 +230,7 @@ this function onto `change-major-mode-hook'." (widen) (remove-list-of-text-properties (point-min) (point-max) '(font-lock-face))) - (set-buffer-modified-p modp))) + (restore-buffer-modified-p modp))) (defun font-lock-default-function (mode) ;; Turn on Font Lock mode.